package com.shzg.im.model;

import java.sql.Date;
import java.util.ArrayList;
import java.util.List;

public class Category {
    /**
     * 用户分组公共创建者
     */
    public static final String PUBLIC_CAT_CREATOR_ID = "$$PUBLIC";
    /**
     * 未分组用户
     */
    public static final String NONCATEGORY_ID = "1";
    /**
     * 陌生人用户分组
     */
    public static final String UNKNOWN_CATEGORY_ID = "2";

    private String id;

    private String name;

    private String creatorId;

    private Date createTime;

    private List<CategoryFriend> friendList = new ArrayList<CategoryFriend>();

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public List<CategoryFriend> getFriendList() {
        return friendList;
    }

    public void setFriendList(List<CategoryFriend> friendList) {
        this.friendList = friendList;
    }

    public String getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(String creatorId) {
        this.creatorId = creatorId;
    }

}
